export const range = (start, end) => {
    console.log(start, end)
    if (end < start) {
      throw new Error(`Invalid arguments: ${start} ${end}`)
    }
    return new Array(end - start).fill(start).map((el, i) => start + i)
  }
  